<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../../../../favicon.ico">

    <title>Dashboard Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link th:href="@{/webjars/bootstrap/4.1.0/css/bootstrap.css}" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/css/index.css" rel="stylesheet">
</head>
<body>
<!--nav-->
<nav class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0" th:fragment="navBar">
    <a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#">admin</a>
    <input class="form-control form-control-dark w-100" type="text" placeholder="Search" aria-label="Search">
    <ul class="navbar-nav px-3">
        <li class="nav-item text-nowrap">
            <a class="nav-link" th:href="@{/logout}">登出</a>
        </li>
    </ul>
</nav>

<!--sideBar-->
<nav class="col-md-2 d-none d-md-block bg-light sidebar" th:fragment="sideBar">
    <div class="sidebar-sticky">
        <ul class="nav flex-column">
            <li class="nav-item">
                <a class="nav-link active" th:href="@{/getAccounts}">
                    <span data-feather="home"></span>
                    公众号 <span class="sr-only">(current)</span>
                </a>
            </li>
        </ul>

    </div>
</nav>

<!-- warning-frame -->
<div class="alert alert-warning" role="alert" th:if="${errorMsg != null}" th:fragment="warning-frame">[[${errorMsg}]]
</div>
</body>
</html>